projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8941333
)
15_ostree: don't assume kernel arch names
author
Diego Escalante Urrelo
<diegoe@igalia.com>
Fri, 6 Apr 2012 01:43:55 +0000
(20:43 -0500)
committer
Colin Walters
<walters@verbum.org>
Fri, 6 Apr 2012 01:48:35 +0000
(21:48 -0400)
uname -m is not always the suffix of the kernel image. Debian uses
-686-pae, but uname -m would say i686. This creates an infinite loop in
Debian.
gnomeos/15_ostree
patch
|
blob
|
history
diff --git
a/gnomeos/15_ostree
b/gnomeos/15_ostree
index 554e0bc3c66cf131288bfde6e3a8f9c24acb535c..dc6fb9fe0313aaeeb6388b27738183aaeefe3d68 100755
(executable)
--- a/
gnomeos/15_ostree
+++ b/
gnomeos/15_ostree
@@
-42,8
+42,7
@@
EOF
EOF
}
-machine=$(uname -m)
-kernels=$(echo /boot/vmlinuz-*.${machine})
+kernels=$(echo /boot/vmlinuz-*)
while [ "x${kernels}" != x ]; do
linux=`version_find_latest $kernels` >&2
basename=`basename $linux`